package com.bawie.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @author auto create
 * @since 1.0,2018-05-14 08:58:19
 */
public class User implements Serializable {

    private static final long serialVersionUID = 6236217872248387L;

    private Integer id;//

    private String username;//

    private String sex;//

    private String password;//

    private List<Role> roles;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
